<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SEVENEL</title>
<{$showjs}>
<link rel="stylesheet" type="text/css" href="../css/main.css" />
<style>
.userlist{background-image:url(../img/coins.png)!important;}
.useradd{background-image:url(../img/coins_add.png)!important;}
.userdel{background-image:url(../img/coins_delete.png)!important;}
.usercfg{background-image:url(../img/group_gear.png)!important;}
.zdpz{background-image:url(../img/list_settings.gif)!important;}
body { background-color: #D1DDEF; }
.en{background-image:url(../img/en.png) !important;}
.zh{background-image:url(../img/cn.png) !important;}
.kr{background-image:url(../img/kr.png) !important;}
.ru{background-image:url(../img/ru.png) !important;}
.jp{background-image:url(../img/jp.png) !important;} 	
.dqxz{background-image:url(../img/add.gif) !important;}
</style>
<script language="javascript">
Ext.onReady(function(){
	 tabs = new Ext.TabPanel({
        renderTo: document.body,
        activeTab: 0,
		autoWidth:true,
		height:parent.Ext.getBody().getHeight(),
		autoShow:true,
		resizeTabs:true, // turn on tab resizing
        minTabWidth: 115,
        tabWidth:135,
        enableTabScroll:true,
		plain:true,
		frame:true,
        defaults:{autoScroll: true},
        items:[<{section name=li loop=$dy}>{
                title: '<{$dy[li].value}>',
			    iconCls:'<{$dy[li].lg}>',
			    id:'<{$dy[li].lg}>',
                html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%"   src="./index.php?op=add&tid=<{$tid}>&id=<{$dy[li].id}>&lg=<{$dy[li].lg}>&bdid=<{$bdid}>&bdtid=<{$bdtid}>&gid=<{$dy[li].gid}>"></iframe>'
			   },<{/section}>
			   			   {
                title: '快捷新增',iconCls:'dqxz',
                listeners: {activate: handleActivate},
                html: "在当前窗口载入新增"
				}
        ]
    });
	 tabs.setActiveTab('<{$lg}>');
	 function handleActivate(tab){location.href="./index.php?op=loaddata&tid=<{$tid}>&lg=<{$lg}>&bdid=<{$bdid}>&bdtid=<{$bdtid}>"}

});
</script>
</head>
<body style="width:100%">
</body>
</html>